package com.github.chirspan.xaas.uc.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.chirspan.xaas.mybatis.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Author: chenpan
 * @Date: 2021-08-10 11:03:09
 * @Description: 联盟成员
 */
@TableName(value = "xaas_org_affiliation_member")
@Data
@ToString(callSuper = true)
public class OrgAffiliationMember extends BaseModel {

    @ApiModelProperty(value = "联盟")
    @TableField(value = "affiliation_id")
    private String affiliationId;

    @ApiModelProperty(value = "机构")
    @TableField(value = "org_id")
    private String orgId;

    @ApiModelProperty(value = "科室")
    @TableField(value = "dept_id")
    private String deptId;

    @ApiModelProperty(value = "人员")
    @TableField(value = "practitioner_id")
    private String practitionerId;

    @ApiModelProperty(value = "角色编码")
    @TableField(value = "role_code")
    private String roleCode;

    @ApiModelProperty(value = "角色名称")
    @TableField(value = "role_name")
    private String roleName;

    @ApiModelProperty(value = "加入时间")
    @TableField(value = "affiliated_datetime")
    private Date affiliatedDatetime;

    @ApiModelProperty(value = "状态")
    @TableField(value = "status")
    private String status;

    @ApiModelProperty(value = "联盟成员类型")
    @TableField(value = "affiliation_member_type")
    private String affiliationMemberType;

}

